package com.cloudfun.campusshare.common.model.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;

/**
 * Created by Huqin on 2020/5/7
 */
@Data
@ApiModel(value = "角色修改DTO")
public class RoleModifyDTO extends RoleCreateDTO {

    @ApiModelProperty("id")
    @NotEmpty(message = "id不能为空")
    private String id;

    @ApiModelProperty("启用")
    private Boolean enable;

}
